<!--
 * @Description: 过渡
 * @Author: zzj
 * @Date: 2021-08-18 22:14:14
 * @LastEditors: zzj
 * @LastEditTime: 2021-08-18 22:28:32
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>过渡</title>
    <style>
        .box{
            background-color: blueviolet;
            width: 300px;
            height: 300px;
            margin: 100px auto;
            transition: transform,background-color 2s,2s 0s  linear;
        }
        .box:hover{
            background-color: burlywood;
            transform: scale(1.2);
            /* width: 600px; */
            /* transition-property: background-color;
            transition-duration: 3s;
            transition-delay: 0;
            transition-timing-function: linear; */
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>